import Taro, { showToast } from "@tarojs/taro";
export const _toast = (option: Taro.showToast.Option) => {
  const { icon = "none" } = option;
  showToast({ ...option, icon });
};

export const api = {
  _toast,
};
